package com.qidian.mes.produce.mapper;

import com.qidian.mes.pojo.WorkOrder;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface WorkOrderMapper {
    List<WorkOrder> queryList(WorkOrder workOrder);

    int addWorkOrder(WorkOrder workOrder);

    WorkOrder getPrimary(int workOrderRelId);

    int updateWorkOrder(WorkOrder workOrder);

    int updateStatusBeSure(WorkOrder workOrder);

    int updateStatusOfDelete(int workOrderRelId);
}
